<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>用 户 登 录</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  <style type="text/css">
	body{
		margin:0px;
		padding:0px;
		font-size:12px;
		background-color:#016aa9;
		overflow:hidden;
		text-align:center;
	}
	#container{
		margin:auto;
		width:980px;
	}
	#login{
		background-image:url(${pageContext.request.contextPath}/images/admin/login_bg.gif);
		width:932px;
		height:357px;
		margin-top:120px;
		border:1px dashed #016aa9;
	}
	#form{
		margin-top:175px;
		margin-left:-20px;
	}
	
	#input div {
		margin-bottom:5px;
	}
	#input div input {
		width:120px;
		height:16px;
		background-color:#292929;
		border:0px;
		color:#6cd0ff;
	}
	#btn {
		margin-left:20px;
		margin-top:8px;
	}
	#btn input {
		border:0px;
		background-image:url(${pageContext.request.contextPath}/images/admin/dl.gif);
		width:49px;
		height:18px;
		color:#FFFFFF;
		margin-left:8px;
		cursor:pointer;
	}
	</style>
	</head>
	<body>
	<div id="container">
		<div id="login">
			<div id="form">
				<form method="post" action="userAction!adminLogin">
					<div id="input">
						<div>用户：<input type="text" name="user.userName" /></div>
						<div>密码：<input type="password" name="user.password" /></div>
					</div>
					<div id="btn">
						<input type="submit" value="登录" />
						<input type="reset" value="重置"/>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>